* {
    margin: 0;
    padding: 0;
}


.w {
    width: 1216px;
     margin: 0 auto; 
}

/* @media screen and(min-width:1300px) {
    .w {
        width: 1216px !important;
    }
} */

input {
    border: none;
    outline: none;
}

a {
    text-decoration: none;
    
}

ul li {
    list-style: none;
}



/* 头部 */

.top {
    display: flex;
    justify-content: space-between;
    /* align-items: center; */
}

.tu {
    width: 120px;
    height: 28px;
}

.tu img {
    width: 120px;
    height: 28px;
    vertical-align: middle;
}

/* 头部nav部分 */

.nav {
    width: 345px;
    height: 58px;
    border: 1px solid #999;
    background-color: #eaeaea;
    border-radius: 50px;
}

.nav ul {
    height: 58px;
    width: 345px;
    display: flex;
    justify-content: space-around;
    align-items: center;

}

.nav ul li {
    width: 108px;
    height: 50px;
    border-radius: 50px;
}

.nav ul li:hover {
    background-color: white;
}

.nav li a {
    display: block;
    height: 50px;
    width: 108px;
    position: relative;
}


.nav li svg,
.search svg{
   position: absolute;   
   top: 50%;
   transform: translateY(-50%);
   left: 10px;
   color: black;
}

.nav a,
.search a {
    text-align: center;
    line-height: 48px;
    font-size: 20px;
    color: black;
}

@media screen and (min-width:1020px) {
    .w {
        width: 1280px;
        margin: 0 auto;
    }
}

@media screen and (max-width:1020px) {
    .w {
        width: 720px;
        
        margin: 0 auto;
    }

    .banner {
        height: 1330px !important;
    }

    .linka {
        width: 226px !important;
        height: 125px !important;
        display: flex;
        justify-content: space-between;
        align-content:space-between;
    }

    .linka .a {
        width: 226px !important ;
        height: 125px !important;
    }

    .nav {
        display: none;
    }

    .foot {
        visibility: visible !important;
    }
}

.foot {
    height: 30px;
    margin-top: 40px;
    display: flex;
    justify-content: space-around;
    align-items: center;
    visibility: hidden;
    
    
}

.foot div {
    width: 256px;
    font-size: 20px;
    text-align: center;
}

/* 媒体查询和脚步结束 */

.nav a span {
    margin-left: 15px;
}

.search {
    width: 190px;
    height: 50px;
    display: flex;
    justify-content: space-between;
}

.search a {
    display: block;
}

.search .sea {
    position: relative;
    width: 115px;
    height: 50px;
    border: 1px solid gray;
    border-radius: 50px;
}

.search .sea:hover,
.search .sea:hover svg,
.search .sea:hover span {
    background-color: black;
    color: white;
}

.search .user {
    position: relative;
    width: 50px;
    height: 50px;
    border: 1px solid gray;
    border-radius: 50%;
}

.search .user:hover,
.search .user:hover svg {
    background-color: black;
    color: white;
}

.search .user svg {
    margin-left: 3px;
}

h3 {
    padding-top: 20px;
}

/* banner开始 */
.banner {
    height: 1200px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    align-content: space-around;
    
    
}
.banner .linka {
    width: 276px;
    height: 155px;
    
}
.banner a {
    display: block;
    width: 270px;
    height: 150px;
    position: relative;
    border: 1px solid #ccc;
    background-color: #e0e0e0;
    border-radius: 20px;
   
    transition: all .2s;
} 

.banner a svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%,-50%);
    margin: auto;
   
}

.banner .linka:hover a {
    /* color: red; */
    /* width: 272px;
    height: 152px; */
    /* outline: 4px solid gray; */
    background-color: white;
    /* color: aqua; */
    
}

.banner .a9:hover a{
    color: red;
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.banner .a1:hover a{
    color: rgb(108, 190, 226);
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.banner .a2:hover a{
    color: rgb(226, 133, 201);
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.banner .a3:hover a{
    color: rgb(236, 220, 140);
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.banner .a4:hover a{
    color: rgb(104, 222, 120);
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.banner .a5:hover a{
    color: rgb(181, 83, 34);
    width: 275px;
    height: 155px;
    box-shadow: 2px 2px 10px gray;
}

.more .more1 {
    width: 115px;
    height: 50px;
    margin: 30px auto;
    text-align: center;
    line-height: 50px;
    border: 1px solid #ccc;
    background-color: #e1e1e1;
    border-radius: 25px;
}

.more .more1:hover {
    background-color: black;
    color: white;
}

/* end开始 */
.end {
    display: flex;
    flex-direction: column;
    justify-content: space-around;
    align-items: center;
}

.end img {
    width: 120px;
    height: 28px;
}

.end ul {
    width: 250px;
    margin-top: 15px;
    height: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;

}

.end ul a {
    color: #999;

}

